#include <stdio.h>
int main()
{
    char s[100];
    int count = 0;
    int i;
    printf("Please enter a string:");
    gets(s);
    for (i = 0; s[i] != '\0'; i++)
        count++;
    printf("The length of the string is: %u\n", count);
	return 0;
}
